//
//  PreferencesController.h
//  iMine
//
//  Created by gaoxiang on 09-3-15.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "GameEngine.h"

@interface PreferencesController : NSWindowController {
	IBOutlet NSTextField *mineFieldWidth;
	IBOutlet NSTextField *mineFieldHeight;
	IBOutlet NSTextField *mineCount;
	IBOutlet NSStepper *widthStepper;
	IBOutlet NSStepper *heightStepper;
	IBOutlet NSStepper *countStepper;
}


- (IBAction)close:(id)sender;
- (IBAction)apply:(id)sender;

- (IBAction)widthChanged:(id)sender;
- (IBAction)heightChanged:(id)sender;
- (IBAction)countChanged:(id)sender;

@end
